package com.aspose.cells;

import java.util.Iterator;

public class ShapeSegmentPath {
   private int a;
   private ShapePathPointCollection b;

   ShapeSegmentPath(int type) {
      this.a = type;
      this.b = new ShapePathPointCollection();
   }

   public int getType() {
      return this.a;
   }

   public ShapePathPointCollection getPoints() {
      return this.b;
   }

   void a(ShapeSegmentPath var1) {
      this.a = var1.a;
      Iterator var2 = var1.b.iterator();

      while(var2.hasNext()) {
         ShapePathPoint var3 = (ShapePathPoint)var2.next();
         ShapePathPoint var4 = new ShapePathPoint();
         var4.a(var3);
         this.b.a(var4);
      }

   }
}
